change button layout on header/footer