Updated RotateSync example to also rotate a surface

Current example just display textual information indicating current angle and rotation direction.  This update to that example also rotates a surface correlated to the displayed text.