scrollTo functionality as service in pageScroll