fix cards animation