added touch/click end event handlers