redraw in scrollbar is called in next eventLoop