How to reset the scrolling position when the page is updated?

@sam-g is this the same as the problem Im dealing with? It didnt work for me when I plugged it in.