Not to worried, but I've never seen my snakes do this...

My concinnus (in shed) is sleeping out in the open as usal so I can see him. He keeps waking up with either a really jumpy flinch, reminds me of my dog dreaming... But he just now started twitching for a few seconds... Like his head started hurting ya know? Kinda twisted his head like we would if one side of our head starting buzzing...

Any ideas? Is he dreaming?