Support portrait rotation and set the deployment target to 5.0