fixed bxslider bug where the width of the slider was not correctly calculated