trying getting slider to work