move base function to touch action