steps through which mammals passed to gain the ability to fly by flapping wings has been