differentiate between dragging and clicking behavior