Dynamically hide/show branches.