before adding change slide animation