Add checkbox in the general tab of preferences that can enable and disable smooth scrolling. Fixes: #577