modified css to add card flip effect