swap variables for calendar css classes