Fixed layout issue with contentOffset on iOS7