Implemented github.com/Demophoon's nerdtree toggle function