Added touchend event handler