close NERDtree if it is the only window