Properly implemented flipping in mobile