fix scrollTo() sets when changing state by nav