Bug fix for sliders contained in positioned elements

If a slider is inside a positioned elementt, we must count in how far
we are scrolled when calculating where the slider is