Add ability to set and get the device or simulators orientation