adding calendar functionality for month viewing