Partial integration of slider

kind of working, needs more work