Now it works but there is a problem, the slider does not display in full, or it takes a long time to do so.
Thanks