Fix fore Firefox not reloading page

window.scrollTo acts differently there, so it's moved to after the
location.reload.