overflow Protectionn on setDocumentPage