refactored LANDSCAPE orientation common return type into variable for
less code duplication