Remade editor to allow scrolling