Dilling with all the modes for the next and prev links.
Change the tab links.
Reorder the variables.
Merge pull request #2038 from openscholar/1971

Better handle calendar links navigation