Add Toggle Tree Side menu item

This adds a 'Toggle Tree Side' menu item, allowing to toggle the tree view side between right and left.