The browser alerts us when the user changes to new or older pages in its browsing history.
These are handled in lib/state.
$(window).on 'popstate', ...