scroll to top before unload