Add horizontal orientation support for menu items.

Default behavior (vertical orientation) should not be changed.