bug fix in the date picker
Sorted out calendar view