implemented temporary solution for cells with rowspan that exceeds the page space