Adding posts pagination