Bugfix: sidebar occasionally overlaps the header when it goes from small to wide.