Added the functionality to allow of One or Two finger panning.
* fixed spelling mistake