Fixed the slider animation when adding a new card