Preperatory work for slider.