Log cancelling by mousemove and draggesture