After you click on the "Eye" icon, the content window of the shelf has a name with the general topic (it also appears in the Info window already when right-clicking a shelf, so that the context menu appears).
So if you are looking for a book about a specific topic, you will (more or less) quickly know if you got the wrong shelf. Furthermore, each book in the shelf will reveal its title as mouse pointer tooltip.