fixing masthead media layouts