Fixed problems with scrolling implementation.