I've had younger kids do this but I am not so sure about older ones.
I think it's called infantile spasms and is or can be a sign of other underlying issues such as epilepsy.
http://www.ninds.nih.gov/disorders/i...tilespasms.htm
Have her parents said anything about it? Seen a Dr about it?