horizontal orientation bug fixes
Merge branch 'origin' of github.com:andresbrun/SquaresFlipNavigation into versions/alpha