Updated scrollbarWidth calculator