set x/y-offset and window-width/height for legacy urls