adjust the position and style of buttons