Hold a trackstand for a while, with the front wheel turned slightly. Then shift your weight towards the front, whilst twisting the bike round with your hips. Keep your head facing the way you're turning. Try not to go too far over the front, because you could only get half way, then stop, or go over the bars. Just keep your weight over the front, and don't spin too fast.