fixed the scroll problem