Draw the info-box smaller if the window is too narrow to fit