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.
Merge pull request #810 from juanramon/reset-loops

Reset latest items loop when reach the end