adjust the form position