Made "smooth scrolling" configurable