Horizontal mode implemented. Fixes #9.