added some of the scroll to top functionality