Addedd window resizing TODO