slider not working, needs fixing