Foundation of slider on index.html