Adding support for adaptive-width grid cells for horizontalScrolling mode
Fixing tests.