add scroll to fix editor
use min