Bending of a poroelastic beam with lateral diffusion