added datepicker to detail page