removed need to reload page when leaving archive by fixing 'navigation' function in main.js