I have two repeating groups - clicking a thumbnail in the first RG shows a bigger image in a slider on the second RG and it goes to the specific photo corresponding to the thumbnail that was clicked on.
I probably used two pages because the question I was answering at the time needed me to. I don’t think it needs to be the case. You can adapt as needed if it fits your needs.
Edit: I just checked, in the example, I don’t go to another page in the app, I go to a page index of the second repeating group. When you have a RG set to display one record at a time, each record view is called a page - just to confuse us