Migrated slider to React