Hello,
I have items added from database. As you see when i am in page 3, i click one of the images.
![](https://static.wixstatic.com/media/a27d24_413fa4b4661946cb8567ce28f72ebe16~mv2.png/v1/fill/w_980,h_658,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/a27d24_413fa4b4661946cb8567ce28f72ebe16~mv2.png)
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.
![](https://static.wixstatic.com/media/a27d24_ecf6693b96eb450eb4166765e223852e~mv2.png/v1/fill/w_980,h_565,al_c,q_90,usm_0.66_1.00_0.01,enc_auto/a27d24_ecf6693b96eb450eb4166765e223852e~mv2.png)
Here we are in page 1 again :(
![](https://static.wixstatic.com/media/a27d24_fb6bca2e09b840f98959cc06e7018a2d~mv2.png/v1/fill/w_946,h_766,al_c,q_90,enc_auto/a27d24_fb6bca2e09b840f98959cc06e7018a2d~mv2.png)
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.