The border doesn’t work

I have another question too:

How can I change the speed of the slider