only render subtree if open