Take a look at various pans and how they're baffled, you can get as basic (above) as you need to, or as elaborate as you want (hinged/spring loaded doors, swinging pickups). The intent is all the same: keep the oil in the sump and not sloshing to the rear or sides, keeping the pickup covered.