add hashchange logic back in
updated demo