adding auto scrolling support for the console