separate vertical and horizontal spacing systems

closes #7
Habits lesson layout and problem styles.

closes #3.