Landscape and Portrait Orientations

I have tested iOS 7 and these modifications permit the rotation of messages both while active and activated after the rotation. It also includes the modifications from pull request #23 as listed in the commit comments.