resize form with new theme