before measuring scrollbarsize, make sure classname is set