improve cards animation