Knee caps are free to move side to side when the muscles are relaxed, this is not runner's knee, do you have pain when you move the knee cap? is sitting with the knees bent sore?- if so it may be chondromalaciaa patellae- sounds bad, but a few dozen straight leg raises a day will help.
If the pain is at the outside of the knee and comes on after a predictable length of time running, it may be runner's knee- try a cho-pat strap.
Use the internet to self diagnose and then find the thread on here to give you some ideas for treatment.