made a workign slider