fixed drag-past-end bug