How to make a derailleur work in opposite directions?
When you switch to the crankset behind cogs, you need to move the derailleur above the cogset. 

Think of it as rotating the entire drive train 180 degrees forward or flipping the entire bike over the bars and then moving wheels down until they touch the ground.



Note that the different crank positions require different chain length.