when flipping between Tree and View tabs with edit on, clear out the containers for the toolbars before re-adding the toolbars