Develop

Hi! Check this one, I think we can use it next developing steps of slider. I tried to optimize my code but may be you find something else