nerdtree: change the current directory whenever the root is changed