Agenda view patch

Adds an agenda view to the calendar