a bit of cleanup on directory autoscroll