scroll adjustement when return on the bottom of the editor