restore conditional code for SetScrollBarSize

related commit: ec147012340219c8bb5eaf8fe3d41be7836bc261

Change-Id: Ie8962f8d26f163eed91fdf6b137b0d9830183dd2