slider functional
Some small changes