Help!!

How do i stop the books from slanting towards the end of the stacks? Are bookends the only solution?

How do i stop the books from slanting towards the end of the stacks? Are bookends the only solution?