put gesture on the right element