fixing the backward/forward after jumping