Implement scroll to beginning and end of console.