auto close NERDTree if it is the last window.