drawing lines on mouse movements
it correctly draws a line when draggin mouse, even starting at the mouse down point