Buttons Adapt to Changing screen size

Yet to fix:
1) On inner page, when orientation changed, centerbuttons is renderred
with homebuttons only
2) Clicking on one mainButton sets the state of the other mainButtons
too