adapt horizontal form elements