From what youve described, patricularly the location, and the pain going down a slope, this sounds like a problem with your patella-femoral joint (the joint between the kneecap and the thigh bone) Usually, if there was an acute irritation, it responds to rest, ice and anti-inflammatories. Occasionally, bracing and physical therapy is added. Surgery is rarely necesary.