Refactor de slider