Moves group listing details outside of the for loop.