In retrospect, I think he's twirling to avoid the robot that's flying underneath him, but if you look at the on-set footage, they filmed all the actors fighting nothing and then CGIed all the little Ultrons in accordingly. Which means he was really just twirling in the air there.