Add getScrollPosition and setScrollPosition.