Change Position of elements in repeating group

I’m not sure if this is possible or if we have a trick of manipulating how a repeating group works but I have some text and photos in a repeating group. Here’s a simple example

Is it possible to have two elements, in this case, the text element and the photo, to alternate positions? As in have the photo on the left and text on the right in the second cell of the repeating group and back to its original in the thrid?

Read this:

It should help you understand how you can do this using two group, one for each display.