Added jump sensor and friction