slide animation fix