Added events on show and hide of Calendars