Fixing a slide header ghost on animations