Issue #17 Adding collision detection for iOS/Android