removed footer; if there is only one page of results, do not show the pagination