end datepicker and create slider