Layout tweaks

The layout is now based on screen percentage, not defined with pixel
values. This fixes issue #4