Slider implemented for one and two page view