rotate the beams parallel to railing