preventDuplicates allow previous message after disappear.

Allow the previous message to be displayed to the user after the message has disappeared from the users view.

Also, added the option to the demo.html file.