aligned the buttons to switch background