Check direction of scroll in UIScrollView Check direction of scroll in UIScrollView xcode xcode