Add UIDevice Rotation
[update] code cleanups after merge and better rotation animations