Here is the jsfiddle
This especially happens when the value equals the max value of the viewport. On jsfiddle you could see that 120 is being cut off. I could move that value a little down by bar._model.y + 5
But this is overlapping the value with the bar.
How could I prevent the value from being cut off?