fix horizontal layout