How can a part to be moved \ displaced by another part

I have this assembly

Now when I move the blue calendar, it overlaps with the red one, I want the red one to be move by the blue calendar, How can I make this mate?

This is the wrong scenario

And this what I want

Thanks

SolidworksAssemblies