The custom scrollbar should scroll on main thread.