How to make a Cube turn/flip animation

I have to make a cube with images on each side. And when a user swipes on the surface of the cube, the cube turns or flip to the swipe direction. For example, if user swipe left to right…then cube turns sideways to the right and it’s left part is now showed.

All other things are finished except for the turn animation. I use the 2.5 D tutorial by Corona blog to simulate the turning of cube but it doesn’t look exact.

Is there better way to do it? It’d be great help if someone could suggest better solution