made the history button highlight when clicked