Apply the new layout to pdf file view