function to open nerdtree mirror or, if no one was found, a new one