improving reset algorithm and fix back caching by the browser
algorithm to filter finished and ignoring videos with length superior to the filter