Writing landscape versions of layouts