updated gap settings, resize