Horizontal shear flows over a streamwise varying bathymetry