You need to stop the spirit moving horizontally, this is quite tricky (I usually do this with extending myself horizontal, and it will only sometimes work). After you manage that, just keep flipping and jump as early as possible to the finish. At least that was my method.