Moved header expansion into css classes