sliderlogo index and update flex-slider