Re enabled the smart resize event