added modifications to calendarView and Pane