make enlarged plot adapt to viewport height