Directory listing at top level folders now link correctly

Closes #465