Click the space bar to go up and try to not get hit by the bars.
Thanks to Braden for the help on this! :)