Can you give us a little more information?
Has she been doing this for a long time?
How old is she?
Is she eating and drinking and pooping ok?
Sometimes that motion doesn't mean anything at all. She could have something stuck in her throat that she's trying to get to go down. It could also be a sign of gape worm, but i wouldn't jump to that conclusion.