Constraining to within a certain area

In an assembly I want to constrain the box below to have free movement within the outer sketch - that is anywhere in the yellow area. I want to be able to drag the box around in the yellow area but keep it from sliding off the "edges". When I get it positioned in the right place then fix the box. Does anybody know how to make mates that accomplishes this?

SolidworksAssemblies