Replaced deprecated scrollerWidthForControlSize method.