Pagination: fix for pages

Always show 7 buttons (numbers) (+ prev and next) when we have more
then 7 pages.