added speed control to rotating things