I'm trying to fix this scrollable problem, using this:
var divs = $(".wrap > .outerDiv");
for(var i = 0; i < divs.length; i+=3) {
divs.slice(i, i+3).wrapAll("<div class='breakpoint'></div>");
}
which is creating a breakpoint while my childs are more than 3.
The only one way to fix it is wrapping 3 childs. Could you double check why dosn't create 3 divs please take a look at my demo.
<div class="breakpoint">
<div></div>
<div></div>
<div></div>
</div>