Calculate scrollbar size on demand