moved the call to the bxSlider into a directive