Adds fadeOut function in flash messages