I shamelessly tried to rip JQTouches solution for animating a flip between two internal pages (div’s). But did I miss something, a CSS rule perhaps? Cause I think it looks a bit funny..
Have a look: http://jsfiddle.net/wije/x3xz2/4/
Here’s the original:
http://jqtouch.com/preview/demos/main/#animations
The 2 animations need to be separate, and then you add 2 event handlers for the animation endings; once the first div is hidden, show the other one.