dblclick event handling to change the size