dont show pagination when number of pages<2