implemented console style auto-scrolling