fix issues with fast history navigation, use hash change in demo