mouse drag (panning) for spectrum analyzer