Update scroll position.