impl scroll by cursor key. ref #40