Fix for #84: Moved toggle button to top toolbar of tree so it is used in layout calculation