Add UIDevice Rotation

 add support for auto-orientation