Fix carousel to only check for visible items