remove unused code for onTouchEvent method