Normally, when a person was faced with this kind of a situation, their body would freeze up along with their thoughts. Kakashi was purposely making such seemingly carefree movement to stop his thoughts from freezing up. He had learned to always keep his body moving from his years as a capable Shinobi who saw so much shocking, bloody carnage.