made window resizable