implement new onTouch interface to detect movement and outside touch