need to complete the scrollTo functonality