improved how the scroll bar functioned on view context