A snowboarder performs a trick by riding down the rail of a staircase .