Have you checked the values of the bxSlider function ?
$j('.bxslider-2').show().bxSlider({
slideWidth: 111,
minSlides: 4,
maxSlides: 7,
moveSlides: 6,
slideMargin: 10,
speed: 1500,
pager: false,
infiniteLoop: false,
hideControlOnEnd: true,
onSliderLoad: function () {
// do funky JS stuff here
}
});
especially minSlides, maxSlides and moveSlides. Are you assigning that value depending on the length of the elements you detect ?