Adding the slider direction and control background images.