Did you disconnect you accelerator cable when taking out the stepper motor? If so you may have given it a little too much slack when you put it back on.
You could try resetting the ECU (disconnect the battery for about 20 mins). May not work but beyond that I'm out of ideas! I've never messed with the idle speed myself.