Smooth scrolling fix