backport of SP3 fix

adapt the layout so it does not break with lower resolution
  (bnc#814542)
- 2.24.0