Added ability to override smooth scroll.