remove extra drag events due to double clicks from the recorded data