my dd used to do this from time to time, since birth actually but has stopped in the past month or so.
my solution was to hand over to DH when she was like this worked a charm