Well, it looks like you moved the tap logic to the new touchend event at line 100, but tap works a little differently than just checking for any movement, it also checks if the touch took longer than 250ms (touch and hold). I think we might still want to use the tap event for manually toggling controls specifically.