Calendars are displayed correctly

After "switching" singleDatePicker on/off when datepicker is already
initialized.