A whack on top of dash, while crude, is sometimes effective in cases more severe than your's where swings are in the 1000s and/or speedo is doing the same thing. Otherwise, you must look for needle in haystack (assuming it's an intermittent poor electrical connection in dash).
similar problem