rotate for slider changes