fix carousel ios flicker issue