toggling between focus on tree and focus on tab

Wrote a new function which toggles the focus between a tab and the tree (same behavior as Close/Open but with the Focus). 

If in the tree, unfocus.
If in a tab, either create a new tree, or focus the existing tree.