changing the layout of the form to be able to resize more gracefully.