Move index mode/sort settings into <select>s in #nav-links.