Added maximum scroll position.