Fixed #355 worked on #517 and #511 and also worked on responsivness for mobile in books and blogs templates