add pdf view support