hide history button if no history