position window over svg and clean up class