added scroll to top on page selection