Scrolling optimalization