make slider its own file and change files