custom pagination & comment deletion fn