shrink the bear image with the window size