how to get relative position of GUI, after a zoom in

You could take this apart:

The script and the description of how it works is in the thread. Relevant image:

I have also placed the vertical scroll window within another canvas which deals with zooming.

The suggestion above is using 2 nested canvasses instead.