fixing the user-scroll problem