Keep enough window history.