Add flipping for Ipad