Function createDefaultRotateToHandler