set visible page count when loading document