fixed the scrolling proble