resizes to fit small windows