resize the form