refactor header partials