[TIMOB-15020] (3_1_X) Orientation fix for NavigationController

Backport of PR #4632

Fixes [TIMOB-15020](https://jira.appcelerator.org/browse/TIMOB-15020)

See additional test cases in JIRA