Working with device orientation

Also very interested in an answer to this