adapting auto-scroll speed to PD