added slider_setup and slider_destroy
added slider_setup and slider_destroy