Refactor the drag-n-drop touch detector, add rotation touch detector to allow transposing.