When flying you can press attack when you see a blue reticle that will allow you to dash to cliffs/floors/walls