correct page loads on history change.