Fix horizontal scrollbar height not taken into consideration when resizing. Move duplicate code inside a function.
Fix horizontal scrollbar height not taken into consideration when resizing. Move duplicate code inside a function.

Infragistics/zero-blocks,Infragistics/zero-blocks,Infragistics/zero-blocks