Added pagination to front page