hide pager when document is loading