positioned the pdf window, showing the whole pdf