code of simple wheel control for iOS