change the layout of books