Solved a scrolling bug