wandoledzep/bxslider-4 — pull request #350 by stocksr (2013-10-09 13:49:40+00:00)
Title: Add ensureSlide public function,

if you pass it the index of an item it will ensure that the page with that item on it is visible, useful with a responsive carousel, when you want to slide to a specific item.

My use case was

var ds = $('#dateSlider').bxSlider({
speed: 400,
minSlides: 2,
maxSlides: 6,
slideWidth: 130,
slideMargin: 0,
pager: false,
infiniteLoop: false,
hideControlOnEnd: true
});

ds.ensureSlide($("#dateSlider li.selected").index());