Added global persistance of the slider