Adjusts styling of overview calendar and makes it react on window resize

* The number of months to be displayed in overview calendar is now
  re-calculated and the calendar re-rendered on each window resize.

* refs #17352