made window resize-able