Clean up the slider and accordion elements