Revert "Use OrientationEventListener to get orientation of display"

This reverts commit c39fd236be22f3cf2cd9a0f6344612e651a9bb4a.