added hash change detection for back/fwd btns