Fixed resize handler when kiwi is wraped inside another document

When including kiwi html code inside another document without wrapping it in an iframe, the resize handling fails. I just calculate the left offset of the #kiwi container to substract it to the position.