Fixes for iOS7 and pull to refresh