implemented special ontouchEnd logic for mobile phones