Better pagination

Can view links to all pages. Charts also now don't disappear on page change.