create horizontal layout with scrolling