Updates layout and position of History box.