fixing manual scrolling issue.