Place your cursor over the top edge of the taskbar. It should change to a double-ended arrow. Then simply 'click and drag' to put the top edge of the bar back to where it should be. Then right-click and select 'Lock taskbar' to stop it moving again. (If you don't see the double-ended arrow to start with, you might need to right-click to unlock the taskbar before following these instructions).