Added pagination to comments and sidebar images.