If you go back until you see a plank you can jump on, go up and you will see a lever, pull that and this gate will open for a limited amount of time. Simply dash to it before it closes and you should be good.