It's all about the twist, the speed, and putting your weight on your back foot. I just attack the rail with generous speed, twist my bars to my back side, stomp the back foot, then push off on the back foot to help twist back around. You'll be surprised at how secure the back wheel can be.
I...