added jshint
using touchEnd events instead of clicks