editing the calendar templates so the footer doesn't overlap