Improved scroll to top on refresh