flip order of buttons