corrected some incorrect references to "this" that should have been using "inst". added call to handleTouchEnd() when mouseleave() the container