Add condition for event status when showing events in the slider.