control button to toggle history