Add collision class / jump code

Optimized jump code for mobile.