You can use the Expand Selection to -> Enclosing Element command to select the surrounding expression, statement or declaration, and then you can return to the previous selection by using the Expand Selection to -> Restore Last Selection command (keyboard shortcuts vary across OS's, and see previous screenshot for the shortcuts on Macs).
As an example:
IMG needed Image Added > expand > IMG needed
> restore > IMG needed Image Added
Better AST Transform support