adjust the position of buttons