make the visualization of pdfs more beautiful