Only split the tree view when the tree view is visible