simplified drawing code
point dragging works