improvement for keyboard scroll