there's this block and if you jump at the wall and keep pressing left, you'll grab onto the ledge. Sorry if this didn't help.