after slider directive refactoring