Implement basic pagination for top magnets
Merge branch 'pagination' into develop