GridLayout code added to have the gui elements change size as the outer boundary line of the gui is changed