adding touchend event for mobile browsers