Updated the slider to allow multiple elements to scroll a time