adds pdf view