fixed firefox carousel bug