...A timer i called every 50 milliseconds and each call of the timer moves the slider handle one step further, which means that the size of the panels left and right of the handle changes.
The speed is configurable, and changes when the speed buttons are used. A number of ticks can be used to show certain dates below the slider animation.