fixed conflict in index.html slider