moving openCalendar to on click