fix scrollTo offset bug