Update slider.Rd

Typo in slider documentation