bug fixes for flexslider