Darren did some digging on this a while ago and came up with a good solution, so I’d give this a read-through first:
If you still have trouble with it, show me your code (and if possible, a picture of your phone screen with the game running so I can see the current result) and I’ll see if I can help =)