additions to markdown, made animations simpler and more efficient