set value of rownumber_ in GameModes::resize