fixed smooth scrolling issue