It is called a track stand and I am in awe of those who can do it for a long time. I can do it for a very short time. If you search track stand you will find many threads with tips and many people expressing their awe of those who can.