Add fliped effect for cards in the index page