When turning off slider, stop playing!
Don't reset slider to start when you press play

and delete unused variable