check that the electric fans come on (the ones near the radiator)
If you're moving fast enough, there's air coming through the radiator to cool the engine. Slow traffic no movement, air doesn't flow through the radiator, causing everything to heat up. You should be able to hear the thermo fans come on - if you haven't heard them, your stereo's up too loud, or they're not coming on.