Pagination fix - pagination links stay aligned when changing view size