include header,footer,scrollbar when calculating initial grid height

This should fix issue #1873. However it's not perfect. There appears to be a few extra pixels added to the header and footer outside the `headerRowHeight` and `footerRowHeight`.