Of course birds started flying by leaping-gliding between branches. Long armed small theropods were arboreal as well as ground runners, like cats. GSPaul