Taking contentInset into consideration when scrolling up. This is required for iOS 7+ implementation.