use statusBar orientation instead of device orientation

Use UIApplication.statusBarOrientation instead of UIDevice.orientation so the cases of FaceUp and FaceDown orientations are handled correctly