slider and datepicker