Press the B Button (or the A Button) when sliding down a wall to perform a Wall Jump, which will cause Mario to kick off the wall and jump in the opposite direction. Performing repeated Wall Jumps can take Mario up to some very high places!