Fixed the problem with switching books and some css changes