fix for scroll bug.