improve slider and collapse panel