Spin Orbital Coupling In 5D Transition Metal Oxides And Topological Flat Bands