how is the jumping and animations related??