TransformTool problem

Good afternoon, I am using the function TransformTool for a project and need to solve 2 problems I have.

  1. 2 manipulate images that one of them always remains below another
  2. the image does not get out of an area which I define or frame.