massive addition: adding calendar and popover functionality