Move lines with mouse

added context menu and callbacks to line handles so that they can be be
moved around on the screen by adjusting their y-offset in real time.