Added logic to handle long titles, minor styling to books index page