make overflowing pagers a more generic object