The website I'm making has a few basic jQuery-animated effects, including the animation that slides the main content from below the lower edge of the browser window when every new page opens, and slides the same content up and out of the browser window when any menu link is clicked, before opening the new page.
When I go back to the previous page using the browser's "back" button, the main content remains hidden (because the last thing that happen to the page was the animation that removed the content out of the browser window).
Question: how can I refresh / reset the page to its initial state when it's visited by clicking the browser's back button?
I assume this can be achieved by forcing a page refresh when it's visited via browser back button - even though I may be wrong. I would greatly appreciate advice on this!
(This topic has been brought up before but somehow none of the answers I found on this website quite solves the issue.)