Added support for back button detection when html5 pushState navigation is in use