Update the scroll offset