adding classes for top positioned calendars