Add support for browsers which don't dispatch pop

Chrome sends the popstate event on load, whereas Firefox does not. This
can be worked around by forcing the portfolio card to show on load -
which does mean on Chrome the card will technically be changed twice.