moved touching to layer