changes to horizontal layout