Sounds like a habit she has started,have a talk with her ask if she is upset about anything, have there been any new happenings recently, When you see her do this distract her , has she plenty of activities in her life Games, is she stimulated enough or bored, If she is at school does she do it there or is it just at home? Give us more information to go on.