Orientation!

Added orientation checking to sniffer.js

This is static once it's been computed, there is no current way to re-check it if the user changes it.