Fixing iPad portrait mode