pass view reference on calendar click