carousel changes to avoid weird flicker