fix jumpy scroll on up/down key events