Added basic option to switch the orientation of the viewport