scrollTo function for jInvertScroll