Issue when using a slider with youtube video