fix iPad photos orientation issue