add opacity states to carousel images