hacked up drag-to-select