add jumping and falling logic to Phil