Implemented simple panning, and added --pan-mode parameter

Fixes #13