replace touch began,moved & ended method to UITapGesture & UIPanGesture.