Further flexbox pagination style refactoring

Signed-off-by: Alex Coles <alex@alexbcoles.com>
Reduce default visible pages in pagination

This is a quick fix to avoid overlapping in small viewports when the
details pane is open.

Signed-off-by: Alex Coles <alex@alexbcoles.com>