Pull out common drag-start code