adjust form layout