fix middleware gif, close #322
Merge pull request #324 from dead-horse/docs

fix middleware gif, close #322