added dblclick handler