Fixed bug with height in horizontal mode

When TwoWayView is set to horizontal mode and layout_height="wrap_content"
the view would consume all available space on the screen. Esentially
ignoring the wrap_content flag.
When in wrap_content mode the view should only take up the nessecary
space to show it's contents.