Make buttons size depend on screen resolution

Needs some more work