I am working with a in my Angular project, and I cannot seem to figure out why the index resets to the first page every time a new card is add