adds responsive layout support for PDF viewer