account for table header height when splitting a table accross pages
bugfix - bug was introduced with latest refactoring