Fossil study brings us one step closer to revealing how ‘flying dinosaurs’ took flight