S-shaped bookshelf