adding functionality to year view so that when a day is clicked, calendar will switch to day view of that day.