Added the support for card flipping.