added animation to markdown in event
fixed animation for fade in and out