optional blocks for inside/outside touch events