Infinite image loop. Created code to swap group positions on scroll.