Two things that instantly come to mind are families and hierarchy.
You should group your panels into a single family, so that you can call actions on all panels at once. Do the same for the text.
When you tap an object of the panels family, you first reset the 10 pixels offset of all panels using the family, and then apply the 10 pixel offset only to the desided panel.
You can also avoid having to move the text of each panel by using hierarchies. Simply set each text as a child of its panel (with the y position constraint) and then each time you move your panel on the Y axis, the child will move automatically without needing to write additional events.