How to blend attack animation to idle state?

I just uploaded a video on youtube of the issue