mine used to do that when he was having a long talk to himself, eyes pinning and neck snaking/bobbing, almost like he was retching? it just meant he was having a good old yak to himself....! When their eyes pin its usually because they are concentrating or really mad!