minimize routing within repos by re-rendering files view, closes #516