Feedback between ice flow, barotropic flow, and baroclinic flow in the presence of bottom topography