fix middleware gif, close #322

i think you could link to just `docs/middleware.gif`. try that instead?