Several changes:
- go to page 1 when filter is changed
- fit to width
- not show all pages
- show first and last
- show '...' if there are pages hidden and show more when clicking on it