At first it looks like the cat is trying to find a particular book somewhere on the shelf. I wonder what a cat would read. (My money’s on The Chessmen of Mars. Cats really go for chessmen. Leave some set up on the chessboard if you don’t believe me.) But no–he’s merely throwing books out of the way so he can use that portion of the shelf for a nest. Cats are nothing if not practical.