check ios function and add fade for carousel