Customize tooltip position depending on the position of the slider.