fix for iOS7 resize weirdness