Smooth scroll path fix