Added card switching animation