Get the max visible events from the viewport size subtract the number of one-off events Then add that many recurring events