Question "drag" Optios For Perspective

Hello!

I use http://developer.coronalabs.com/code/perspective  and all ok! But need only one help for realisation:
Drag “game map” , i get this code from Camera Master:

function view:drag( event ) if self.\_transition then transition.cancel( self.\_transition ) self.\_transition = nil end local view = view if event.phase == "began" then view.\_touchPosition = {} view.\_touchPosition.x = event.x - view.x view.\_touchPosition.y = event.y - view.y elseif event.phase == "moved" then if not view.\_touchPosition then view.\_touchPosition = {} view.\_touchPosition.x = event.x - view.x view.\_touchPosition.y = event.y - view.y end view.x = event.x - view.\_touchPosition.x view.y = event.y - view.\_touchPosition.y end if self.\_bounds then view.x, view.y =self:clampPosition( view.x, view.y, self.\_bounds ) end end

Problem: Not good working this solution. Who can help me? 

Thanks!