allow the settings dialog to scale with screen size and behave properly on smaller screens