Added scrollToTop method