Add horizontal layout mode with the -horizontal flag.

Fixes #7