Tumble the hat without letting go
Hold the hat with crown towards you in an inside grip. Swing the hat towards you and hold the brim as it flicks over on to the back of the hand.
From here you can either place it on the head or swap hands and do it again.