make tree interactive