Needed to update scrollbar on editor toggle