saving current position in $rootScoper as myPosition