using the getNumberOfFooterRows() method to determine bottom margin (I thought it had been doing this already)