Update mainScrollbar on resize