So basically I am using this answer to control the speed of the scroll, but my problem is that I need the speed to be constant, and with this solution when the scroll is arriving at the end it starts to slow down.
So basically I am using this answer to control the speed of the scroll, but my problem is that I need the speed to be constant, and with this solution when the scroll is arriving at the end it starts to slow down.