Fading pages using popstate

Browser support leaves a lot to be desired, so I'll have to code in some
fallbacks