auto scroll for compilation