add distance to dragend event data, close #2158, ref #872