Monotonicity of the free boundary in the two-dimensional dam problem