added basic node dragging functionality