Advice regarding implementation of smooth scrolling