changed form layout to be horizontal