tidy up & add logging
tidy up
log recognizer state
prevent pan left from popping and pan right from pushing