refactor system scroll bar measure
safe update method