Viscous Crossflow in Layered Porous Media