make commandhistory scrollable