scroll to the top of the page when showing the progress bar