fix navbar for sorter, minor issue on index