Dynamically resizing GUI.