make GUI responsive