Add autoresizing mask, iOS 6.0 orientation support, fixes #2