maybe her leg slips out of joint and by going up the stairs it helps to get it back in place, i would have it checked out
 
several years ago i had a poodle that had a leg that done this he would scream out and run or sometimes he would just be on the floor going around until it was back in place  
Betty & Micah my love
