             return
         }
         
+        if monthViews[presented]?.allowScrollToNextMonth == false,
+            scrollView.contentOffset.x > scrollView.frame.width {
+            scrollView.setContentOffset(CGPoint(x: scrollView.frame.width, y: 0), animated: false)
+            return
+        }
+        
         let page = Int(floor((scrollView.contentOffset.x - scrollView.frame.width / 2) / scrollView.frame.width) + 1)
         if currentPage != page {
             currentPage = page

        }
        
        checkScrollToPreviousDisabled()
        
        calendarView.presentedDate = CVDate(date: presentedMonthView.date, calendar: calendar)
    }

        monthViews[identifier] = monthView
        scrollView.addSubview(monthView)
        checkScrollToPreviousDisabled()
        checkScrollToNextDisabled()
        calendarView.coordinator?.disableDays(in: presentedMonthView)
    }
    
