change the layout of the map to put the buttons in one line