Changed method of calculating the position of the slide (is calculated on each draw, not when initialized...