Fixed rotation of the program on iPad