add functionality to scroll current page to top on menu click