made window resizeable