beautified the widget layout