use css class to show/hide calendars

it is useful for our app's styles to know when calendars are shown or
not so we can apply older browser fixes in css.