Works but needs links ot next and previous in group