Changed 'click' event to 'touchend'

The 'click' event wasn't triggered on iOS (Chrome and Safari)

Currently gets triggered even when the user scrolls. Still need to find
an MIT-licensed library to handle touch events ("tap", specifically)