fixed sideways movement by changing hierarchy