Improved editor and scroll on init