Added support for smooth mouse scroll.