Try not to over correct. Just move an inch forward and back. When you go to far forward, just let yourself roll back. I can usually do this for about half a turn when I go to far when stopping quickly, usually in traffic.
Also, it helps to learn to track stand with the your pedals 10-3, 11-5, 8-2, 7-1 o'clock. Left foot forward.