Fix viewport.pan docs
Merge pull request #726 from starwed/pan-fix

Fix viewport.pan docs