fix when showing only calendar and sliders, also fix for max and min range in calendars