Made window resizable