use horz scroll bar option to calculate initial grid height

Use new `enableHorizontalScrollbar` option to calculate initial grid height