updated HossViewController implementation to check NavigationType enum