Code to resize your form automatically.