update smoothscroll