fix from
https://github.com/woothemes/FlexSlider/pull/882