fix panel so it at least works with single-display