put back outer loop (needed to handle e.g. 9/16)
tweak landscape layout to fit on smaller screens