Tweak to scroll to top functionality