Reset latest items loop when reach the end

Now if we want to use the latest item loop we have to reset it manually in the theme after each time we use it. With this change it reset automatically after reaching the end.

If you think it's ok, before merging the pull request I'll change it in the rest of helper loops.