Handle touchend and mouseup for attacks