support for the touch callback