It is worth adding a comment here explaining the strange tricks we're doing in this layout.