Handle UIDeviceOrientationFaceUp and UIDeviceOrientationFaceDown orientation. Add tap background to dismiss for partial height views