added comments to Slider component