added touchend for mobile support