added scrollTo 10 logic