center the form properly