Temporary Swelling on Scrotum?

Yesterday I was sitting on the couch watching TV. My scrotum began to feel extremely itchy, so i scratched it, pretty hard, with my nails in a rake like motion. My finger nails are pretty long btw so it probably irritated the scrotum a bit. Anyway, next thing I know I have what I can best describe as a swollen scrotum. Right where I was itching turned very red and felt like the skin of the scrotum there had contracted and become slightly thicker than the parts of my scrotum i hadn't itched. But this is the part that worries me. The testicle itself seemed fine but my right teste seems to have moved a bit during the entire ordeal. Slightly upwards is the best way I can describe it. I didn't feel any pain throughout this, however. Its the next day and the swelling is almost completely gone, but my right testicle still seems just slightly out of place. Still no pain. What's going on?