enabling document viewer