Scroll-spy functionality for scrollTo- directive