datepicker now adjust to not let past dates
calender displaying events