Renamed view -> viewContainingAccessibilityElement . Added condition for UIScrollView to prevent scrolling past proper contentSize of the view