First thing I would do is lubricate the derailleur and the shift cable within it's housing. The derailleur is probably being restricted by friction somewhere in the system. When the friction gives way, it shifts. Had a similar problem recently and a few drops of oil did the trick.