Update height of panel