Text this: Boundaries steer the contraction of active gels