Made the widget resizable and tweaked the UI