[[ Bug 6720 ]] Return scrollbar properties in correct format

Since this fix includes a slight change in functionality, it should be merged into the develop branch.