2 possibilities,
1. vehicle speed sensor - this is located at the end of your speedo cable, where it meets your transmission. when you begin to slow down this sensor is responsible for noticing and sending a message for the idle air bypass to open fully, to keep the car from stalling.
2. idle...