Makes the header menu dynamic