use horz scroll bar option to calculate initial grid height
Merge pull request #2169 from Envisage/calc-init-height

use horz scroll bar option to calculate initial grid height