I have tried out several ways to check if an svg element is visible on the screen. the svg image is inside a div called "prior".
I am determining the svg viewBo