help me please

hi, I wanted to know how do you keep the page height when you go back.
for example if you scroll through the page and click on a product, when you go back to the page from above, how do you keep the page in the correct position where the product was clicked previously?

Maybe you can use getBoundingRect to get the documentHeight position when the user clicks a product, and then when the user gets back use scrollTo() to the same Y value:
https://www.wix.com/corvid/reference/wix-window.html#getBoundingRect
https://www.wix.com/corvid/reference/wix-window.html#scrollTo