FEC-2349

empty the viewedEntries array once all the entries were shown. Make sure not to delete shown entries from cookie when storeSession is enabled.