Sidebar working with scrolling