fixed scrollTo issue