Pan2d param

Adds a Param and sample accurate 2d panning, some test code and a sample fix (pan pos was reversed).

Fixes #498