changes in x-Axis of buttons