made window resizeable through keys