add duration for click and drag