The Influence of the horizontal component of the temperature gradient on nonlinear convective oscillations in two-layer systems