Implement new layout modes, Heights and Horizon.