make searchbox in center; refactor head stripping
now the page number and link works