fixed carousel glitch