Drag detection

change to event.js to prevent displaying editor when drag-selecting
cells.