Add scrollToTop directive