Support both orientations
Merge branch 'master' into gh-pages