Change center layout to take dock height and menubar height into account

- menubar size set to 30
- dock height size from system event
- center layout starts a bit lower and end a bit earlier