Reworked widget's placement to avoid some problem wrt containers. Also enables orientation (up-down) of the widget.