iOS Rotate

Fixed version of #854