Thanks i have it working well now, the main thing was using a extra start of layout event as it makes things a lot simpler than having a single code in a always event. I then just use what tulamide suggests with a extra y position also if i ever need that.
Btw a offtopic question i have is if anyone else find getting a python errors/debugging annoying? when i get them it seems to keep triggering popups and crashes. Hopefully this could be fixed somehow so there is only 1 error instead or a list/debug view rather than popups to make it a nicer process.
Usually i fix any errors without a problem but they can show with a bad indent so sometimes they make things frustrating. I usually have to click close about 6 times each error i found but you can keep clicking for much longer if you are not closing them.