Added supports for smooth scrolling.