Add PDF thumbnail behavior