updated navbox html to function on pages in subdirectories