auto resize that window\!