first draft smooth scroll functionality