Adds scrollToTop directive