add gesture to the exist activity.