Added interface for easily querying the orientation of the device