These won't be null. Why does it check?
Let's try disabling the buttons when they won't do anything.
The math is different, the call is the same.
Compactify.

Don't store the orientation, all we ever care about is whether or
not we're horizontal.
Actually use a style someone may set on us.