add basic panning
Merge pull request #1 from component/add/pan

add basic panning