jQuery fix for flexslider