The effect of mangroves on coastline stability