Improve history navigation.