Influence of nearshore mixing in pollutant transport