hide pagination when there is only one page