Your problems is the thermostat. It is stuck in the open position, hence when you are idling, the temperature stays warm and when you move, the temperature drops; cooloant is always flowing. If the coolant temperature sensor was bad, your radiator fans would not come on at all, hence the car would overheat. The job of this sensor is to tell the fans when to turn on/off. Hope this helps.