Added scroll recorder so that the total distance can be tracked