Vertical mode implemented. Fixes #9.