fixed carousel to reset when close img