popup buffer switch hook updates nav to point to a directory of current buffer