calculation of scroll bar width