Mouse erratic trying to move vertical

my mouse behaves uncontrollable (left click) when i want to move the bar as it slips octaves in that direction, it is so annoying driving me nuts, is there a setting to prevent this happening…