To jerk or turn one's head to the side (as when avoiding being hit) to shake one's head from side to side (as when trying to dry one's hair [redup]).
Shake your hair from side to side so it will dry quickly.
If I hadn't jerked my head to the left, I would have been hit by him.