From a hang with straight arms, pullup while simultaneously bringing the legs up and spin around the bar. You'll end up on top of the bar. To get back down, reverse the motion: roll forward and then lower the legs while performing a negative pullup to get to a hang.