use contentInset.top to check validity of contentOffset.y