Added datepicker for view history page