move dblclick handler into afterDraw