Update slider.php for lib folder