TIMOB-11845-Review feedback - Moved the code from dispatchTouchEvent to onTouchEvent