tab_history: automatic redraw if it becomes visible