pdf viewer embed fixes for ios devices