remove column calculations from GridFields.php
use existing variable addNewPageBeforeNextContent instead of adding another variable for the same thing.