fix controlling and add jumping