Fix smoothscroll offset