Changed layout to horizontal