After you have defeated the Book Shelf on your quest to find the book for Hermione, grab the block and take it all the way to the front of the room in front of the first book shelf in a row of book cases. When you are on the first book case, you will see flying books staying in one place. Cast the Hand spell on them and jump across.