Refactor to use UIDeviceOrientationIsPortrait for checking orientation
Add test for checking bounds for portrait