Refractored header menu