revert slider js