Implemented Flipping Animation

Flipping animation works now