draw dots only if mouse moved more than trashold