tach is freaking out

My stewart warner tach has recently begun to behave erratically. The needle bounces around when the motor is revved and fluctuates wildy. It seems to hold steady at idle though.

What gives?