adding calendar click events