fix flexslider init