You probably want this ul outside of the each not inside.