turn editor resize off if the user uses manual resize, add resize on editor visibility toggle