improved the widget layout