Make tree resizable