Change smoothScroll to scrollTo for offset option