Use pan to provide touch in iOS