Account for the scrollbar size when computing an element's container dimensions for scrolling