Turning Back from page reset page shown

Hello,

I have items added from database. As you see when i am in page 3, i click one of the images.

After i click turn back button with black circle, site directs me page 1. It will be annoying for user if i have 10+ pages. Everytime they click and turn back, they will start over.

Here we are in page 1 again :frowning:

How can i turn back from page and continue with existing page.

You will need to use wix-local storage, to save your last State when clicking on the button an redirecting to next page.
The last selected page will be saved. And when clicking the back-button you load the saved state back again from local storage.

That’s it.