You can use a bookend to stop books from falling over on a shelf