fix up touch event functions, thanks lint