update relative positioning for windows