Add support for horizontal scrolling in 'scrollIntoView' in ui_utils.js
Merge pull request #3967 from Snuffleupagus/scrollIntoView-horizontal

Add support for horizontal scrolling in 'scrollIntoView' in ui_utils.js