Addressed some bugs in the scroll view offset