fixed bug with width calculation of flexslider