Added card-flip rotation