Am not an expert but I know that its also a matter of for every action there is an opposite reaction. The torque generated makes the wheel turn forward, the bike will then want to turn backwards. Imagine looking at the bike from the right side as the wheel turns. The wheel will turn clockwise, then the bike will want to go anticlockwise, which is up in this case.