Implementing note-dragging and removing.