Update number of rows setting properly by manually invoking my window resizing class