Added pagination to archives page

Added pagination to the archives page. 

issue #490