rebuild scrollbar