updated smoothscroll offset