add updateScrollbar method to update just the scrollbar positioning.

useful for situations with contenteditable divs