forgot to adapt minimize code, as the resize triggers the layouting now that's not needed any longer