write rotate graph slider using events