Pan gesture refactored
Added convenience methods.