Differentiate click and drag on selection