moveForm method