Update slider.php

Visual fixes for Slider component.